home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
Dev
/
Oberon
/
Macros
/
Oberon-A.aedrc
< prev
next >
Wrap
Text File
|
1994-08-08
|
3KB
|
57 lines
# AmokEd 1.41 setup for Oberon-A
# Created by Frank Copeland
menuoff
menuaddt Oberon (Main module ca-m) ca-m
menuaddt Oberon (Library module ca-l) ca-l
menuaddsep Oberon
menuadd Oberon (Compiler options a-F1) a-f1
menuaddt Oberon (New symbol file ca-n) ca-n
menuaddt Oberon (Debug symbols ca-d) ca-d
menuadd Oberon (Pre-Linker options a-F2) a-f2
menuadd Oberon (Linker options a-F3) a-f3
menuaddsep Oberon
menuadd Oberon (Compile F1) f1
menuadd Oberon (Pre-link F2) f2
menuadd Oberon (Link F3) f3
menuadd Oberon (Run F4) f4
menuaddsep Oberon
menuadd Oberon (Read Errors F6) f6
menuadd Oberon (First Error F7) f7
menuadd Oberon (Next Error F8) f8
menuadd Oberon (Prev Error s-F8) s-f8
menuadd Oberon (Clear Errors F9) f9
menuon
map f1 (if m saveold rx2 DoOC.rexx \$filename \$screenname)
map f2 (if 13 (top first ` ' left find MODULE wright scanf %[~;] top first del resettoggle modified rx2 DoOL.rexx \$scanf \\$screenname))
map f3 (if 13 (top first ` ' left find MODULE wright scanf %[~;] top first del resettoggle modified rx2 DoLink.rexx \$scanf \\$screenname))
map f4 (if 13 (top first ` ' left find MODULE wright scanf %[~;] top first del resettoggle modified rx2 DoRun.rexx \$scanf \\$screenname))
map a-f1 (escimm (setenv OC_ARGS `\$OC_ARGS'))
map a-f2 (escimm (setenv OL_ARGS `\$OL_ARGS'))
map a-f3 (escimm (setenv LINK_ARGS `\$LINK_ARGS'))
map ca-l (toggle 10 checktoggle (Oberon-Library module ca-l) ifelse 10 (checkreset (Oberon-Main module ca-m) resettoggle 13 setenv OC_ARGS (DST OLIB:)) (setenv OC_ARGS (SYM Code DST Code)))
map ca-n (toggle 11 checktoggle (Oberon-New symbol file ca-n) ifelse 11 (setenv OC_NEWSYMFILE YES) (setenv OC_NEWSYMFILE NO))
map ca-d (toggle 12 checktoggle (Oberon-Debug symbols ca-d) ifelse 12 (setenv OC_DEBUG YES) (setenv OC_DEBUG NO))
map ca-m (toggle 13 checktoggle (Oberon-Main module ca-m) if 13 (checkreset (Oberon-Library module ca-l) resettoggle 10 setenv OC_ARGS (SYM Code DST Code)))
map f6 (rx ReadErr.aed)
map f7 (noscrupdate top first find `\\\^--')
map f8 (findstr `\\\^--' next)
map s-f8 (findstr `\\\^--' prev)
map f9 (noscrupdate top findstr `\\\^--' repeat -1 (first next deline))
resettoggle 10 setenv OC_ARGS (SYM Code DST Code)
# NEWSYMFILE off
resettoggle 11 setenv OC_NEWSYMFILE NO
# DEBUG on
settoggle 12 setenv OC_DEBUG YES checkset (Oberon-Debug symbols ca-d)
# Main module off
resettoggle 13
# OL_ARGS
setenv OL_ARGS (SRC Code DST Code)
# LINK_ARGS
setenv LINK_ARGS (VERBOSE NODEBUG SMALLCODE SMALLDATA)